#ifndef WIFIINFODELEGATE_H
#define WIFIINFODELEGATE_H

#include <QStyledItemDelegate>

class WifiInfoDelegate : public QStyledItemDelegate
{
public:
    WifiInfoDelegate();
protected:
    void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;

    QSize sizeHint ( const QStyleOptionViewItem & option, const QModelIndex & index ) const;


    //bool  editorEvent ( QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index );

};

#endif // WIFIINFODELEGATE_H
